<template>
  <div id="app">
    <!-- <keep-alive> -->
    <router-view />
    <!-- </keep-alive> -->
    <Map />
  </div>
</template>

<script>
import Map from "@/components/Map/map";

export default {
  name: "app",
  components: {
    Map,
  },
  data() {
    return {
      isCollapse123: 11,
      // isRouterAlice: true
    };
  },
  watch: {
    $route(news) {
      if (news.params.code == "login" && news.path == "/home") {
        delete news.params.code;
        // window.location.reload(true);
        this.$reloadSystemMenu();
      }
    },
  },
  computed: {},
  methods: {
    todata() {
      console.log(1234);
    },
  },
};
</script>
<style lang="less">
@import url("./assets/css/global.less");
@import url("./assets/css/mapPop.less");
@import url("./assets/font/iconfont.css");
.el-radio {
  position: relative;
  top: -5px;
}
.el-table td,
.el-table th {
  padding: 6px 0 !important;
}
.el-form-item__label {
  line-height: 30px !important;
}
.el-form-item {
  margin-bottom: 10px !important;
}
.el-form-item__error {
  top: 39px !important;
  left: auto !important;
  right: 8px;
}
.uploader-example {
  width: 100%;
  font-size: 12px;
}
.uploader-example .uploader-btn {
  margin-right: 4px;
}
.uploader-example .uploader-list {
  max-height: 440px;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
.trees {
  .el-tree--highlight-current
    .el-tree-node.is-current
    > .el-tree-node__content {
    background: none;
  }
  .el-tree-node__content > .el-tree-node__expand-icon {
    border: 0;
  }
  .el-tree-node__content {
    height: 40px;
    border-bottom: 1px solid #eef4f5;
  }
  height: auto;
  padding: 0;
}
.ql-editor {
  min-height: 200px;
  max-height: 500px;
}
</style>
